package com.xmy.cultivate.entity.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 场地电脑
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-28
 */
@Data
public class AiSitePc {

    private Long id;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("场地id")
    private Long schoolSiteId;

    @ApiModelProperty("标识码")
    private String markCode;

    @ApiModelProperty("编号")
    private String num;

    @ApiModelProperty("电脑状态：1正常，2维修中，3报废")
    private Integer status;

    @ApiModelProperty("使用状态：0空闲，1待使用，2使用中")
    private Integer useStatus;

    @ApiModelProperty("使用学生id")
    private Long useStudentId;

    @ApiModelProperty("使用学生姓名")
    @TableField(exist = false)
    private String studentName;

    @ApiModelProperty("电脑总数")
    @TableField(exist = false)
    private Integer sumCount;

    @ApiModelProperty("使用中的数量")
    @TableField(exist = false)
    private Integer inUseCount;

    @ApiModelProperty("待使用的数量")
    @TableField(exist = false)
    private Integer waitUseCount;

    @ApiModelProperty("空闲的数量")
    @TableField(exist = false)
    private Integer spareCount;

    @ApiModelProperty("维修的数量")
    @TableField(exist = false)
    private Integer repairCount;

    @ApiModelProperty("1：空闲添加 2：结束使用 3：换机")
    @TableField(exist = false)
    private Integer type;

    @ApiModelProperty("维修原因")
    @TableField(exist = false)
    private String reason;

    @ApiModelProperty("操作id")
    @TableField(exist = false)
    private Long createdId;
}
